<template>
	<view>
		微信H5支付
		<button @click="aa">点击支付</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:'https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx0915284411622583860d053bc0a15e0000&package=389005966'
			}
		},
		methods: {
			aa(){
				uni.request({
					url:this.baseURL+'/wxPay/h5',
					method:'POST',
					success: (res) => {
						console.log(res)
						
					}
				})
			}
		},
		onLoad(p) {
			
		}
	}
</script>


<style>
</style>
